const webpack = require('webpack');
module.exports = {
  publicPath: './',
  assetsDir: 'static',
  outputDir: 'dist',
  chainWebpack: (config) => {
    config.plugin('provide').use(webpack.ProvidePlugin, [
      {
        $: 'jquery',
        jquery: 'jquery',
        jQuery: 'jquery',
        'window.jQuery': 'jquery',
      },
    ]);
  },
};
